//
//  Little.h
//  LibProduct
//
//  Created by admin on 11/17/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "CCSprite.h"
#import "CCMyLayer.h"

@protocol LittleTouchDelegate
/// method
-(void)touchRight:(id)current:(CGPoint)point;
-(void)touchMove:(CGPoint)p;
-(void)touchEnd:(CGPoint)p;
@end

@interface Little:CCMyLayer{
    CCSprite *img;
    CGPoint originalPosition;
	CGPoint currentPosition;
    id delegate;
}

@property (nonatomic, retain)   CCSprite *img;
@property (nonatomic, readwrite) CGPoint originalPosition;
@property (nonatomic, readwrite) CGPoint currentPosition;

@property (nonatomic,assign) id <LittleTouchDelegate> delegate;

+ (Little*)getLittleInstance;

@end
